package org.itboys.seller.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * @author hzliangchong1@corp.netease.com
 *         Date 2016/10/30.
 */
@Entity(value = "ParamSet", noClassnameStored = true)
public class ParamSetDB extends BaseLongIdEntity {

    private int profit = 2; //利润的百分比

    private int minFreezeDays = 7; //最小冻结天数

    private int maxLeaveDays = 15; //最大保留天数

    public int getProfit() {
        return profit;
    }

    public void setProfit(int profit) {
        this.profit = profit;
    }

    public int getMinFreezeDays() {
        return minFreezeDays;
    }

    public void setMinFreezeDays(int minFreezeDays) {
        this.minFreezeDays = minFreezeDays;
    }

    public int getMaxLeaveDays() {
        return maxLeaveDays;
    }

    public void setMaxLeaveDays(int maxLeaveDays) {
        this.maxLeaveDays = maxLeaveDays;
    }
}
